package com.sduept.nwld.mobile.model.fault;

import javax.json.bind.annotation.JsonbNillable;
import javax.json.bind.annotation.JsonbTransient;
import javax.persistence.Column;
import javax.persistence.Entity;
import java.util.*;
import javax.persistence.Table;

import com.sduept.core.entity.IdentifiedObject;

/**
 * 
 * Simple to Introduction
 * 
 * @Description: [故障前后电压、电流变化以及差动电流]
 * @Author: [lixz]
 * @CreateDate: [2019年6月17日 下午3:09:57]
 * 
 * 
 */
@JsonbNillable
@Entity
@Table(name = "t_fault_characteristic_info")
public class FaultCharacteristicInfo extends IdentifiedObject {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5042794756758549100L;
	/**
	 * 故障录波文件id
	 */
	@JsonbTransient
	@Column(name = "fault_file_id")
	private String faultFileId;
	/**
	 * 厂站id
	 */
	@JsonbTransient
	@Column(name = "station_id")
	private String stationId;
	/**
	 * 故障id
	 */
	@JsonbTransient
	private String fault_record_id;
	/**
	 * 故障设备id
	 */
	@JsonbTransient
	private String bus_id;

	/**
	 * 故障时间
	 */
	@JsonbTransient
	private Date fault_time;
	/**
	 * 类别：电压、电流、差动电流
	 */
	@Column(name = "electrical_type")
	private int electricalType;
	/**
	 * 序分量类型(0-零序,1-正序,2-负序)
	 */
	@JsonbTransient
	@Column(name = "data_type")
	private int dataType;
	/**
	 * 变压器绕组(H;M;L),用于变压器
	 */
	@Column(name = "side_type")
	private String sideType;

	/**
	 * 相别
	 */
	@Column(name = "phase_type")
	private String phase;
	/**
	 * 故障前60ms值
	 */
	@Column(name = "pre_fault_value_60")
	private double preValue60;
	/**
	 * 故障前60ms相角
	 */
	@Column(name = "pre_fault_phase_60")
	private double prePhase60;
	/**
	 * 故障前40ms值
	 */
	@Column(name = "pre_fault_value_40")
	private double preValue40;
	/**
	 * 故障前40ms相角
	 */
	@Column(name = "pre_fault_phase_40")
	private double prePhase40;
	/**
	 * 故障前20ms值
	 */
	@Column(name = "pre_fault_value_20")
	private double preValue20;
	/**
	 * 故障前20ms相角
	 */
	@Column(name = "pre_fault_phase_20")
	private double prePhase20;
	/**
	 * 故障后0ms值
	 */
	@Column(name = "post_fault_value_0")
	private double faultValue0;
	/**
	 * 故障后0ms相角
	 */
	@Column(name = "post_fault_phase_0")
	private double faultPhase0;
	/**
	 * 故障后20ms值
	 */
	@Column(name = "post_fault_value_20")
	private double postValue20;
	/**
	 * 故障后20ms相角
	 */
	@Column(name = "post_fault_phase_20")
	private double postPhase20;
	/**
	 * 故障后40ms值
	 */
	@Column(name = "post_fault_value_40")
	private double postValue40;
	/**
	 * 故障后40ms相角
	 */
	@Column(name = "post_fault_phase_40")
	private double postPhase40;
	/**
	 * 故障后60ms值
	 */
	@Column(name = "post_fault_value_60")
	private double postValue60;
	/**
	 * 故障后60ms相角
	 */
	@Column(name = "post_fault_phase_60")
	private double postPhase60;
	/**
	 * 故障后160ms值
	 */
	@JsonbTransient
	@Column(name = "post_fault_value_160")
	private double postValue160;
	/**
	 * 故障后160ms相角
	 */
	@JsonbTransient
	@Column(name = "post_fault_phase_160")
	private double postPhase160;
	/**
	 * 故障后180ms值
	 */
	@JsonbTransient
	@Column(name = "post_fault_value_180")
	private double postValue180;
	/**
	 * 故障后180ms相角
	 */
	@JsonbTransient
	@Column(name = "post_fault_phase_180")
	private double postPhase180;
	/**
	 * 备注
	 */
	private String remark;
	@JsonbTransient
	private int status;

	public String getFaultFileId() {
		return faultFileId;
	}

	public void setFaultFileId(String faultFileId) {
		this.faultFileId = faultFileId;
	}

	

	public String getFault_record_id() {
		return fault_record_id;
	}

	public void setFault_record_id(String fault_record_id) {
		this.fault_record_id = fault_record_id;
	}

	public String getBus_id() {
		return bus_id;
	}

	public void setBus_id(String bus_id) {
		this.bus_id = bus_id;
	}

	public Date getFault_time() {
		return fault_time;
	}

	public void setFault_time(Date fault_time) {
		this.fault_time = fault_time;
	}

	public String getStationId() {
		return stationId;
	}

	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	public int getElectricalType() {
		return electricalType;
	}

	public void setElectricalType(int electricalType) {
		this.electricalType = electricalType;
	}

	public int getDataType() {
		return dataType;
	}

	public void setDataType(int dataType) {
		this.dataType = dataType;
	}

	public String getSideType() {
		return sideType;
	}

	public void setSideType(String sideType) {
		this.sideType = sideType;
	}

	public String getPhase() {
		return phase;
	}

	public void setPhase(String phase) {
		this.phase = phase;
	}

	public double getPreValue60() {
		return preValue60;
	}

	public void setPreValue60(double preValue60) {
		this.preValue60 = preValue60;
	}

	public double getPrePhase60() {
		return prePhase60;
	}

	public void setPrePhase60(double prePhase60) {
		this.prePhase60 = prePhase60;
	}

	public double getPreValue40() {
		return preValue40;
	}

	public void setPreValue40(double preValue40) {
		this.preValue40 = preValue40;
	}

	public double getPrePhase40() {
		return prePhase40;
	}

	public void setPrePhase40(double prePhase40) {
		this.prePhase40 = prePhase40;
	}

	public double getPreValue20() {
		return preValue20;
	}

	public void setPreValue20(double preValue20) {
		this.preValue20 = preValue20;
	}

	public double getPrePhase20() {
		return prePhase20;
	}

	public void setPrePhase20(double prePhase20) {
		this.prePhase20 = prePhase20;
	}

	public double getFaultValue0() {
		return faultValue0;
	}

	public void setFaultValue0(double faultValue0) {
		this.faultValue0 = faultValue0;
	}

	public double getFaultPhase0() {
		return faultPhase0;
	}

	public void setFaultPhase0(double faultPhase0) {
		this.faultPhase0 = faultPhase0;
	}

	public double getPostValue20() {
		return postValue20;
	}

	public void setPostValue20(double postValue20) {
		this.postValue20 = postValue20;
	}

	public double getPostPhase20() {
		return postPhase20;
	}

	public void setPostPhase20(double postPhase20) {
		this.postPhase20 = postPhase20;
	}

	public double getPostValue40() {
		return postValue40;
	}

	public void setPostValue40(double postValue40) {
		this.postValue40 = postValue40;
	}

	public double getPostPhase40() {
		return postPhase40;
	}

	public void setPostPhase40(double postPhase40) {
		this.postPhase40 = postPhase40;
	}

	public double getPostValue60() {
		return postValue60;
	}

	public void setPostValue60(double postValue60) {
		this.postValue60 = postValue60;
	}

	public double getPostPhase60() {
		return postPhase60;
	}

	public void setPostPhase60(double postPhase60) {
		this.postPhase60 = postPhase60;
	}

	public double getPostValue160() {
		return postValue160;
	}

	public void setPostValue160(double postValue160) {
		this.postValue160 = postValue160;
	}

	public double getPostPhase160() {
		return postPhase160;
	}

	public void setPostPhase160(double postPhase160) {
		this.postPhase160 = postPhase160;
	}

	public double getPostValue180() {
		return postValue180;
	}

	public void setPostValue180(double postValue180) {
		this.postValue180 = postValue180;
	}

	public double getPostPhase180() {
		return postPhase180;
	}

	public void setPostPhase180(double postPhase180) {
		this.postPhase180 = postPhase180;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
